package com.coffee.websocket.handler;


import com.coffee.websocket.MochaWebsocketException;
import com.coffee.websocket.command.MochaTextCommand;
import com.coffee.websocket.metadata.MochaTextMessage;

/**
 * @author songkui
 * @since 2024/3/16 11:06
 */
public interface MochaSocketTextHandler<T extends MochaTextMessage> {
    void handle(MochaTextCommand<T> command)throws MochaWebsocketException;
}
